package net.wanho.shop.service;

import net.wanho.shop.po.Supply;
import net.wanho.shop.vo.PageVo;
import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.web.multipart.MultipartFile;

import java.util.ArrayList;

/**
 * 这个类是：
 *
 * @author: MENG HU WANG
 * @date: 2025/1/6 17:59
 * @version: 1.0
 */
public interface SupplyService {

    PageVo selectAll(int pageNum, int pageSize, Supply supply);

    void addSupply(Supply supply);

    void deleteSupply(Integer supplyId);

    void updateSupply(Supply supply, int supplyId);

    Supply selectById(Integer id);

    void removeByIdList(ArrayList<Integer> ids);

    Workbook export(int pageNum, int pageSize, Supply supply);

    void importExcel(MultipartFile multipartFile);
}
